package com.sname.car.bike.entity;

/**
 * Created By  醉美柳舞之众星捧月
 *
 * @author songx
 * @date 2018/9/26 17:19
 */
public class Point {
    private Double longitude;
    private Double latitude;

    public Point() {
    }

    public Point(Double[] localtion) {
        this.longitude = localtion[0];
        this.latitude = localtion[1];
    }

    public Point(Double longitude, Double latitude) {
        this.longitude = longitude;
        this.latitude = latitude;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }
}
